<?php

namespace App\Services\Proxy;

use GuzzleHttp\Client;

class MintrouteProxy extends _BaseProxy
{

    protected $host = 'https://mconnect2.mintroute.com';

    public function handle()
    {
        return (new Client())->post($this->host . $this->path, [
            'headers'     => $this->headers,
            'http_errors' => false,
            'timeout'     => $this->timeout,
            'json'        => $this->params,
        ]);
    }
}
